from django.db import models
from person.models import Person
from issue.models import Issue

# Create your models here.


class AdviceAttend(models.Model):
    id = models.AutoField(primary_key=True)
    person_id = models.ForeignKey(
        Person,
        on_delete=models.CASCADE,
        related_name="advice_attend",
        blank=True,
        null=True,
    )
    issue_id = models.ForeignKey(
        Issue,
        on_delete=models.CASCADE,
        related_name="advice_attend",
        blank=True,
        null=True,
    )
